<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

        * {
            margin: 0;
            padding: 0;
        }

        div {
            column-count: 4;
            column-rule: 1px solid;
        }

        img {
            width: 200px;
            height: 250px;
        }

        /* 这种填充方式并不适合瀑布流，因为他总是让高的列保持多数 */
    </style>
</head>
<body>
    <div>
        <img src="./girl.jpg" alt="">
        <img src="./girl.jpg" alt="">
        <img src="./girl.jpg" alt="">
        <img src="./girl.jpg" alt="">
        <img src="./girl.jpg" alt="">
        <img src="./girl.jpg" alt="">
        <img src="./girl.jpg" alt="">
        <img src="./girl.jpg" alt="">
        <img src="./girl.jpg" alt="">
    </div>
</body>
</html>